package com.shihan.redis.springboot.demo;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;

@EnableCaching  /** 开启注解方式的 Redis ？ */
@MapperScan("com.shihan.redis.springboot.demo.mapper") /** 扫描 mapper 接口所在的包路径 */
@SpringBootApplication
public class SpringbootRedisYusjApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootRedisYusjApplication.class, args);
    }

}
